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

198 commits

Author SHA1 Message Date
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
keoma
898604a772 firmware_nonfree is now a boolean 2019-02-09 15:18:42 +01:00
keoma
7d3f8bedc3 replace yunohost app setting by helper 2019-02-09 13:35:46 +01:00
keoma
8617c23c2b properly using ynh_secure_remove 2019-02-09 13:03:20 +01:00
keoma
e4ea067b26 Revert "now using ynh_secure_remove helper"
This reverts commit e4c80d4c6b.
2019-02-09 12:55:45 +01:00
keoma
e4c80d4c6b now using ynh_secure_remove helper 2019-02-09 12:51:11 +01:00
keoma
bfcf8067f3 removing sudo calls 2019-02-09 12:42:19 +01:00
Alexandre Aubin
546fd17712 Fix tests on the CI (level 2) 2019-01-29 22:07:27 +01:00
Keoma Brun
7cbd23c1ec using new helpers and script formatting 2018-05-10 14:15:18 +02:00
Julien Vaubourg
5ee291480d Use systemctl helper to avoid deadlocks with ynh 2.7 and check path avaibility with no deprecated method 2017-08-30 14:30:14 +02:00
Julien Vaubourg
0637cdf401 Fix upgrade/restore script 2016-05-14 21:24:20 +02:00
Julien Vaubourg
852d331df3 Add xlock waiting to iptables commands 2016-05-07 23:30:38 +02:00
Julien Vaubourg
6fd4b34055 Clean prerequisites and fix css outline for tabs 2015-09-29 18:01:10 +02:00
Julien Vaubourg
4ca40efb43 Fixes #24 2015-09-15 22:21:27 +02:00
Julien Vaubourg
aaf747d5ca Add non-free for security repo, and add sudo command for sed 2015-09-15 19:53:57 +02:00