1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00
Commit graph

212 commits

Author SHA1 Message Date
ljf (zamentur)
a7706b1f6f
[fix] Multi-antenna 2021-12-06 17:49:52 +01:00
ljf (zamentur)
e6f4cddbd9 [enh] Use instance resolver to let using local services 2021-11-27 01:04:15 +01:00
Alexandre Aubin
506fcc14c0 Propagate renaming for hostapd conf templates 2021-11-16 00:50:41 +01:00
Alexandre Aubin
97a1c737ea Unused vpnclient setting ... 2021-11-15 22:13:35 +01:00
ljf (zamentur)
9ad8abd2e2
[fix] Residual php conf 2021-11-11 16:52:13 +01:00
Alexandre Aubin
3c5f8a4aac Annnnnd typo 2021-10-18 01:44:24 +02:00
Alexandre Aubin
eef16c74c4 Various fixes @_@ 2021-10-18 01:39:24 +02:00
Alexandre Aubin
e2d7a00861 Get rid of ip6_addr, compute it based on the ip6_net instead 2021-10-18 00:04:34 +02:00
Alexandre Aubin
4031ed4567 ip6_net/addr -> change 'none' to empty string for better config panel integration / optional management etc (none ain't a valid IPv6 address) 2021-10-17 22:09:07 +02:00
Alexandre Aubin
892fbf5693 Hide some boring warnings from systemctl about insserv etc 2021-10-17 21:36:39 +02:00
Alexandre Aubin
e391e0a645 Fix RPi install: unblock wlan interface 2021-10-17 21:24:51 +02:00
Alexandre Aubin
eb902efa8c Cleanup legacy stuff 2021-10-13 01:22:32 +02:00
ljf
e8370e5527 [fix] Adapt install/remove/backup/restore scripts 2021-09-20 19:47:24 +02:00
ljf
294cf1d5e5 [fix] Typo 2021-09-20 19:19:01 +02:00
ljf
bb2f1b8b13 [fix] Config panel 2021-09-20 18:01:28 +02:00
ljf
e0fe74fbbe [wip] start config panel 2021-09-18 12:00:30 +02:00
Alexandre Aubin
7c1c6c8e15 Fix weird permission stuff 2021-06-07 18:32:16 +02:00
yalh76
c206729f62 Fix rights 2021-05-28 02:16:18 +02:00
yalh76
b611037523 Merge branch 'example' of https://github.com/yalh76/hotspot_ynh into example 2021-05-22 11:53:09 +02:00
yalh76
2534da618e Missing stuff 2021-05-22 11:53:07 +02:00
yalh76
36abf65737
Update scripts/restore
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-05-22 11:44:30 +02:00
yalh76
42ce455c13
Update scripts/upgrade
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-05-22 11:44:05 +02:00
yalh76
b3a8cd07d7
Update scripts/install
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-05-22 11:43:59 +02:00
yalh76
165c82b77d Apply example_ynh 2021-05-15 20:52:43 +02:00
Alexandre Aubin
3663173000
Fix permissions in restore 2021-05-13 16:20:18 +02:00
Alexandre Aubin
79956b5f46
Fix permissions in upgrade 2021-05-13 16:19:09 +02:00
Alexandre Aubin
3823520830
Fix permissions in install 2021-05-13 16:17:34 +02:00
HugoPoi
98a999b5cc fix(: remove need exposed ports, ports are only exposed on LAN 2021-03-29 11:20:25 +02:00
HugoPoi
1c156f2d26 refactor(config): config.php is handle by ynh_add_config 2021-03-27 12:22:28 +01:00
HugoPoi
333a3981e5 use ynh_install_extra_app_dependencies for non-free 2021-03-21 12:50:18 +01:00
HugoPoi
bf890a9e27 refactor: remove old ynh_normalize_url_path
better description

remove ask for mandatory app install args

needs_exposed_ports 547 67 for service

add recommended User=root in service unit file
2021-03-20 20:19:09 +01:00
HugoPoi
94d94648de feat: hot reloading wifi usb drivers
close #62
2021-03-17 11:09:46 +01:00
HugoPoi
63e4f87efd feat: support for non-free firmware on armbian
close #60
2021-03-16 20:19:00 +01:00
Alexandre Aubin
80133986a9 We don't need prerequisites stuff, dnsmasq is the default now 2021-01-07 18:14:07 +01:00
Alexandre Aubin
6056df3b53 Add a proper --test_status command 2020-11-29 03:59:30 +01:00
Alexandre Aubin
0d2f5f5c40 Fix install miserably failing + other weird stuff 2020-11-29 03:51:33 +01:00
Alexandre Aubin
d8003bf3ba
Update install 2020-11-02 19:54:21 +01:00
Alexandre Aubin
34abf52162 No need to reload nginx/php-fpm, the helpers already handle it 2020-09-24 00:05:30 +02:00
Alexandre Aubin
79f1e5a2a1 Fix regression about lock issues by removing the need to call yunohost commands from inside the service script 2020-07-07 17:06:58 +02:00
yalh76
82aa3bb0bd Fix service add 2020-06-27 17:44:26 +02:00
yalh76
d5d9fcbcb9 manage upgrade from 29 Jan 2019
mv: cannot move '/etc/php/7.0/fpm/pool.d/wifiadmin.conf' to '/etc/php//fpm/pool.d/hotspot.conf': No such file or directory
2020-06-15 23:04:19 +02:00
yalh76
344ba7b541 Apply example_ynh 2020-06-15 23:04:19 +02:00
Kayou
918951b721
fix remove 2019-07-21 18:31:12 +02:00
Alexandre Aubin
b858a19517
Merge branch 'master' into update-scripts-to-the-new-standard 2019-03-21 02:18:37 +01:00
Kayou
3f20eb42b4
Restore firmware_nonfree to a choice 2019-03-19 21:33:16 +01:00
Alexandre Aubin
fcfe018a74
Merge branch 'master' into update-scripts-to-the-new-standard 2019-03-14 03:11:49 +01:00
Alexandre Aubin
e51559d856
Also set DAEMON_CONF in /etc/default/hostapd 2019-03-14 02:39:00 +01:00
Alexandre Aubin
9a68383abb
Unmask hostapd 2019-03-14 02:38:06 +01:00
Alexandre Aubin
b909ba3b9b
The script miserably crash if the command fails ... better to test the command in the if directly, no need to use $? 2019-03-12 18:17:04 +01:00
Kayou
3757b70454
fix service_name if empty 2019-03-11 00:44:58 +01:00
Kayou
f7c255a9cf
Fix the upgrade from an old commit 2019-03-11 00:34:27 +01:00
Alexandre Aubin
44796a9efc Force firmware_nonfree to no on armbian 2019-02-28 23:56:22 +01:00
Kayou
31f30fac54
Update remove 2019-02-26 08:48:04 +01:00
Kayou
b118b790b9
Retrieve service_name in upgrade script 2019-02-26 01:31:37 +01:00
Kayou
6971c9626a
tab 2019-02-26 01:29:05 +01:00
Kayou
b3ed0f43af
Don't store packages in settings 2019-02-26 01:27:39 +01:00
Kayou
e376c50ad6
--need_lock on restore 2019-02-26 01:24:01 +01:00
Kayou
fab4ff8643
chown on upgrade and restore 2019-02-26 01:21:09 +01:00
Kayou
4e940b3b41
remove improvement script 2019-02-26 01:11:59 +01:00
Kayou
fd6172d2c7
remove update (done by ynh_install_app_dependencies) 2019-02-26 01:11:22 +01:00
Kayou
a22dabea12
change chown 2019-02-26 01:11:02 +01:00
Kayou
e2e0c0bab7
Merge branch 'master' into update-scripts-to-the-new-standard 2019-02-24 22:51:19 +01:00
Kayou
89b59655d5
Fixing backup restore 2019-02-24 22:21:59 +01:00
Kayou
d8667b93ae
Create folder in restore script 2019-02-24 22:04:02 +01:00
Kayou
ec0fb4bc5d
Fixing restore 2019-02-24 21:25:41 +01:00
Kayou
7031d015be
fix service name 2019-02-24 21:00:28 +01:00
Kayou
06b7a47139
Merge branch 'update-scripts-to-the-new-standard' of github.com:kay0u/hotspot_ynh into update-scripts-to-the-new-standard 2019-02-24 20:42:59 +01:00
Kayou
973dd5d2e9
service_name missing in Backup Script 2019-02-24 20:42:52 +01:00
Pierre Bourré
7f480683ba
[WIP] Upgrade script 2019-02-23 23:47:45 +01:00
Pierre Bourré
b7ae9f4973
Store $packages 2019-02-23 23:46:18 +01:00
Pierre Bourré
1618d3fbbb Fixing the install 2019-02-23 23:17:23 +01:00
Kayou
f1861e7ad4
Removing more files 2019-02-23 02:12:04 +01:00
Kayou
4da218f982
Implementing restore script 2019-02-23 02:05:54 +01:00
Kayou
76ebbd97e2
Implementing backup script 2019-02-23 02:05:34 +01:00
Kayou
f519a9611b
More checksum 2019-02-23 02:04:57 +01:00
Kayou
79ec958aad
Store checksum 2019-02-23 01:40:10 +01:00
Kayou
ff5fb06ea1
Fixing permission 2019-02-23 01:39:09 +01:00
Kayou
16e6e1582d
Update remove script 2019-02-23 01:22:56 +01:00
Kayou
23454dff02
Don't need to reload php fpm 2019-02-23 01:09:49 +01:00
Kayou
d42cd3db10
no more sudo 2019-02-23 01:01:18 +01:00
Kayou
dcfb292d75
Fixing some errors 2019-02-23 00:56:02 +01:00
Kayou
6ed5b79d45
Complete refactor of the install script 2019-02-23 00:46:33 +01:00
Kay0u
baa678b6d5 remove: using ynh_remove_app_dependencies 2019-02-20 19:48:43 +01:00
Kay0u
86e543231a remove: using ynh_remove_systemd_config 2019-02-20 19:47:32 +01:00
Kay0u
d90f5ff323 install: using ynh_add_systemd_config 2019-02-20 19:46:27 +01:00
Kay0u
4637e28176 install: $packages has dependencies 2019-02-20 19:46:07 +01:00
Alexandre Aubin
440662a956 During upgrade : make sure that the yunohost service has a description and need-lock enabled 2019-02-19 08:38:12 +01:00
Alexandre Aubin
3a9ade4d98 Use 'yunohost service' in remove script 2019-02-19 08:38:12 +01:00
Alexandre Aubin
b9bce541d1 Systemctl is fine with regular services ;) 2019-02-19 08:38:12 +01:00
keoma
212cd7ca18 Fix #47 2019-02-19 08:38:12 +01:00
Kayou
08a9db3fb5
Fix restore 2019-02-18 12:55:42 +01:00
Alexandre Aubin
16b705afde
Fix some warnings and issues with file deletions 2019-02-18 12:03:24 +01:00
Alexandre Aubin
1f5aece416
Merge pull request #48 from keomabrun/dev_47
move the service enable statement
2019-02-16 19:17:24 +01:00
keoma
63c58ce5c2 move the service enable statement 2019-02-16 00:42:11 +01:00
keoma
9ba23345a3 fix getting the vpnclient settings 2019-02-15 22:41:37 +01:00
keoma
5de8193998 create a dedicated system user with sudo permissions 2019-02-12 08:40:20 +01:00
keoma
e52b30cff8 #42 using systemctl to get service status 2019-02-11 20:28:18 +01:00
keoma
290b9954ac add service description 2019-02-10 16:51:06 +01:00
keoma
aa3d54b6b4 removing -v from ynh_app_setting_set 2019-02-10 01:18:23 +01:00
keoma
c5c3b33025 Revert "firmware_nonfree is now a boolean"
This reverts commit 898604a772.
2019-02-10 01:13:04 +01:00